

using System;
using System.Collections.Generic;
using System.Text;
using DataAccessLayer;
using EntityLayer;
using DataLayer;
using System.Data;
using InfraStructureLayer;

namespace BusinessLayer
{
	public class busPhotoAlbumContents:BusinessBase
	{
		public busPhotoAlbumContents() : base()
		{
		}

        public DataTable SelectPhotoAlbumContentsByPhotoAlbumId(entPhotoAlbumContents parEntPhotoAlbumContents)
        {
            try
            {
                DbConnector insDbConnector = new DbConnector();
                datPhotoAlbumContents insDatPhotoAlbumContents = new datPhotoAlbumContents();
                return insDatPhotoAlbumContents.SelectPhotoAlbumContentsByPhotoAlbumId(parEntPhotoAlbumContents, insDbConnector);
            }
            catch (SFException ex)
            {
                this.ErrorMessage = ex.Message;
            }
            return null;
        }
        public DataTable SelectPhotoAlbumContentsByLanguageId()
        {
            try
            {
                DbConnector insDbConnector = new DbConnector();
                datPhotoAlbumContents insDatPhotoAlbumContents = new datPhotoAlbumContents();
                return insDatPhotoAlbumContents.SelectPhotoAlbumContentsByLanguageId( insDbConnector);
            }
            catch (SFException ex)
            {
                this.ErrorMessage = ex.Message;
            }
            return null;
        }
	}
}